package cn.miaopasi.demo.model;

import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * 活动管理实体类
 *
 * @author lixingwu
 * @since 2021-10-20
 */
public class Exercise implements Serializable {
    /*** 记录ID */
    @TableId
    private Long id;
    /*** 活动内容 */
    private String coverPath;
    /*** 活动标题 */
    private String exerciseTitle;
    /*** 活动内容 */
    private String exerciseContent;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCoverPath() {
        return coverPath;
    }

    public void setCoverPath(String coverPath) {
        this.coverPath = coverPath;
    }

    public String getExerciseTitle() {
        return exerciseTitle;
    }

    public void setExerciseTitle(String exerciseTitle) {
        this.exerciseTitle = exerciseTitle;
    }

    public String getExerciseContent() {
        return exerciseContent;
    }

    public void setExerciseContent(String exerciseContent) {
        this.exerciseContent = exerciseContent;
    }

    @Override
    public String toString() {
        return "Exercise{" +
                "id=" + id +
                ", coverPath='" + coverPath + '\'' +
                ", exerciseTitle='" + exerciseTitle + '\'' +
                ", exerciseContent='" + exerciseContent + '\'' +
                '}';
    }

    public final static String ID = "id";
    public final static String COVER_PATH = "cover_path";
    public final static String EXERCISE_TITLE = "exercise_title";
    public final static String EXERCISE_CONTENT = "exercise_content";
}
